package cloud.estate.letter.service;

import cloud.estate.commons.bean.Letter;
import cloud.estate.commons.util.JsonResult;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

@Service
public interface letterService extends IService<Letter> {
    JsonResult addOneLetter(Letter letter);

    JsonResult deleteOneLetter(String id);

    JsonResult updateOneLetter(Letter letter);

    JsonResult getOneLetter(String id);

    JsonResult listAllLetter();
}
